package conchmusic.conchmusicclient.util;

import android.content.res.Resources;

/**
 * Created by Pan Ke on 2017/4/21.
 */

public class LoginCommand implements Command {

    private String loginJson;
    private Resources resources;

    public LoginCommand(Resources resources, String loginJson) {
        this.loginJson = loginJson;
        this.resources = resources;
    }


    @Override
    public String execute() {
        return new Executor().loginTransfer(resources, loginJson);
    }
}
